package com.yueqian.system.converter;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yueqian.system.entity.User;
import com.yueqian.system.vo.req.UserReqVO;
import com.yueqian.system.vo.res.UserResVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;


@Mapper
public interface UserConvert {
	UserConvert INSTANCE = Mappers.getMapper(UserConvert.class);

	Page<UserResVO> toPage(Page<User> systemUserDTOPage);

	User toEntity(UserReqVO xxxReqVO);

	UserResVO toRes(User user);

}
